package com.rightsidetech.mall.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class CommodityPageResp implements Serializable {

    private Long id;

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("商品编码")
    private String code;

    @ApiModelProperty("分类名称")
    private String typeName;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("封面图")
    private String cover;

    @ApiModelProperty("创建人")
    private String createrName;

    @ApiModelProperty("创建时间")
    private String createdAt;

    @ApiModelProperty("总平台商品排序")
    private Long commoditySort;

    @ApiModelProperty("商品状态, -2下架 -1-已驳回 0-待提审 1-待审核 2-待上架 3-上架中")
    private Byte commodityStatus;

    @ApiModelProperty("是否爆款 0-不是 1-是")
    private Byte isPopular;

    @ApiModelProperty("是否支持以旧换新 0-支持 1-不支持")
    private Byte isInNew;
}
